package com.grantheath.erebus.view.helpers
{
	import flash.events.Event;

	/**
	 * @author grantheath
	 */
	public class ErebusPageEvent extends Event 
	{
		public static const TRANSITION_IN_COMPLETE : String = "pageTransitionInComplete";
		public static const TRANSITION_OUT_COMPLETE : String = "pageTransitionOutComplete";
		public static const PRELOADER_LOAD_COMPLETE : String = "preloaderLoadComplete";
		public static const GET_PAGE : String = "getPage";
		
		private var _treePath : String;

		public function ErebusPageEvent(type : String, bubbles : Boolean = false, cancelable : Boolean = false)
		{
			super(type, bubbles, cancelable);
		}
		
		public function get treePath() : String
		{
			return _treePath;
		}
		
		public function set treePath(treePath : String) : void
		{
			_treePath = treePath;
		}
	}
}
